import request from '@/utils/request'

export default {

    /**
     * 前端名师页面的讲师分页
     * @param {当前页} page 
     * @param {每页记录数} limit 
     * @returns 
     */
  pageCustTeacher(page,limit) {
    return request({
      url: `/eduservice/teachercust/getTeacherCustList/${page}/${limit}`,
      method: 'get'
    })
  },


  /**
   * 获取讲师详情
   * @param {讲师id} teacherId 
   * @returns 讲师信息
   */
  getTeacherInfo(teacherId) {
    return request({
      url: `/eduservice/teachercust/getTeacherCustInfo/${teacherId}`,
      method: 'get'
    })
  }


}